package com.kk.proxy.staticproxy;

import com.kk.proxy.common.TeacherDao;

import java.io.IOException;

/**
 * 静态代理
 *
 * @author 王志强
 * @date 2021-12-14
 */
public class Client {
    public static void main(String[] args) throws IOException {
        ProxyTeacherDao proxyTeacherDao = new ProxyTeacherDao(new TeacherDao());
        proxyTeacherDao.teacher();
    }
}
